/ Operator
Used to perform floating point division between two numbers.
Syntax
result=expression1 / expression2
Part | Type | Description |
result | Number | The division of expression1 and expression2. |
expression1 | Number | Any numeric expression. |
expression2 | Number | Any numeric expression. |
Notes
Use this operator when you require division that considers the decimal portion of the expressions. You can use Operator_Divide to define the / operator for classes.
Examples
This example stores the quotient of two numbers in a variable:
See Also
\, Mod operators; Operator_Divide function.